package com.liuyu.common.framework.insurance.picc.common;

/**
 * 人保常量池
 * @author: liuyu
 * @date: 2022/5/30 16:02
 * @version: 1
 */
public class PiccConstants {
    /**
     * 证件类型
     */
    public static class IdType {
        /**
         * 身份证号
         */
        public static final String ID_CAR = "01";

        /**
         *组织机构代码
         */
        public static final String ORG_NO = "31";
        /**
         * 社会信用
         */
        public static final String USCC = "37";

        /**
         * 港澳身份证
         */
        public static final String HK_ID_CAR = "07";
        /**
         * 台湾身份证
         */
        public static final String TW_ID_CAR = "98";
        /**
         * 其他
         */
        public static final String OTHER = "99";
    }

    /**
     *  人员属性性质
     * @author liuyu
     * @date 2021/4/21 10:39

     * @return
     */
    public static class Type {
        /**
         *个人业务
         */
        public static final String PERSON = "0";
        /**
         *组织机构
         */
        public static final String ORG = "1";
    }

    public static class InsuredType {
        /**
         * 投保人
         */
        public static final String APPLY = "0";
        /**
         * 被保险人
         */
        public static final String INSURED = "1";
    }

    public static class SyncFlag {
        /**
         *同步接口
         */
        public static final int YES = 1;
    }


    public static class MultiplePayStatus {
        /**
         * 完成
         */
        public static final int COMPLETE = 1;
        /**
         * 正常初始化
         */
        public static final int NORMAL = 0;
    }

    public static class PayStatus {
        /**
         * 未支付
         */
        public static final int UN_PAY = 0;
        /**
         *完成支付
         */
        public static final int COMPLETE_PAY = 1;

        /**
         * 待支付
         */
        public static final int WAIT_PAY = 2;
    }

    /**
     * 是否相同
     * @author liuyu
     * @date 2021/4/21 9:26

     * @return
     */
    public static class Sample {
        /**
         *是
         */
        public static final String YES = "1";
        public static final String NO = "0";
    }

    /**
     * 订单状态
     * @author liuyu
     * @date 2021/4/21 9:06
     * @return
     */
    public static class Status {
        /**
         *待支付
         */
        public static final int WAIT_PAY = 0;
        /**
         *待出单
         */
        public static final int WAIT_INSURE = 1;
        /**
         *提交出单
         */
        public static final int SUBMIT_INSURE = 2;

        /**
         * 出单失败
         */
        public static final int FAIL_INSURE = 3;

        /**
         * 出单成功
         */
        public static final int COMPLETE_INSURE = 4;

        /**
         * 退保订单
         */
        public static final int SURRENDER = 5;

        /**
         * 无效订单
         */
        public static final int INVALID_ORDER = 6;

    }


}
